// layuiadmin样式
html,
body {
    height: 100%;
    // font-family: tahoma, '\5FAE\8F6F\96C5\9ED1', sans-serif;
    font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
}

body {
    .scrollbar();
}

html {
    background: @abg;
}

.height100 {
    height: 100%;
}

.border-box {
    box-sizing: border-box;
}

@font-face {
    font-family: zkuasgm-icon;
    src: url("@{icon-font-url}/iconfont.eot?v=220");
    src: url("@{icon-font-url}/iconfont.eot?v=220#iefix") format('embedded-opentype'),
    url("@{icon-font-url}/iconfont.svg?v=220#iconfont") format('svg'),
    url("@{icon-font-url}/iconfont.woff?v=220") format('woff'),
    url("@{icon-font-url}/iconfont.ttf?v=220") format('truetype');
}

.zkuasgm-icon {
    font-family: "zkuasgm-icon" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.frame-bg {
    background: @body-bg;
}





.outer {
    height: 100%;
    background-size: 100% 100%;

    .fullMainBtn {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 999999;
        width: 0;
        height: 0;
        border-top: 30px solid @header-full-main-bg;
        border-left: 30px solid transparent;

        a {
            position: absolute;
            top: -29px;
            right: 2px;

            i {
                font-size: 14px;
                color: @header-full-main-text;
            }
        }
    }

    .layui-layout {
        height: 100%;



        .fullMain {
            //position: absolute; // width: 100%; // height: 100%;
            display: -webkit-flex;
            display: flex;
            // flex-direction: column;
            top: 0;
            margin: 0;
            z-index: 99999;
            .zkBody{
                flex:1;
            }
        }
    }
}

.card {
    // margin-bottom: 14px;
    border-radius: .6rem;
}

.card-bg-green {
    background: #22af47;
    background: linear-gradient(45deg, #22af47, #d0d962) !important;
    background: -webkit-bg-linear-gradient(45deg, #22af47, #d0d962) !important;
}

.card-bg-blue {
    background: #1ebccd;
    background: linear-gradient(45deg, #1ebccd, #3a55b1) !important;
    background: -webkit-bg-linear-gradient(45deg, #1ebccd, #3a55b1) !important;
}

.card-bg-orange {
    background: #ffbf36;
    background: linear-gradient(45deg, #ffbf36, #ff6028) !important;
    background: -webkit-bg-linear-gradient(45deg, #ffbf36, #ff6028) !important;
}

.card-bg-red {
    background: #f83f37;
    background: linear-gradient(45deg, #f83f37, #ab26aa) !important;
    background: -webkit-bg-linear-gradient(45deg, #f83f37, #ab26aa) !important;
}

.quickBox {
    overflow: hidden;
    padding: 20px 20px;
    cursor: pointer;

    .iconBox {
        float: left;
        height: 50px;
        line-height: 50px;
        margin: 0 15px 0 0;

        i {
            font-size: 32px;
            display: block;
            color: #fff;
        }
    }

    .textBox {
        color: #fff;

        .name {
            font-size: 18px;
            font-weight: bold;
        }

        .eng {
            font-size: 14px;
        }
    }
}





.content-box {
    border: 1px solid #f00;
    position: relative;
    margin: 20px;

    .layui-body {
        margin: 30px 0 0 0;
    }

    .layadmin-pagetabs {
        position: absolute;
        top: 0;
    }
}

.testArea {
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin: 0 auto;
    z-index: 999999;

    ul {
        li {
            display: inline-block;
        }
    }
}


.formList {
    .layui-form-item {
        display: inline-block;
    }
}



// 表格高度100%
.table-full-height {
    box-sizing: border-box;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    height: 100%;

    .layui-card {
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        flex: auto;

        .layui-card-body {
            display: -webkit-flex;
            display: flex;
            flex-direction: column;
            flex: auto;

            .layui-tab-brief {
                display: -webkit-flex;
                display: flex;
                flex-direction: column;
                flex: auto;

                .layui-tab-content {
                    display: -webkit-flex;
                    display: flex;
                    flex-direction: column;
                    flex: auto;

                    .layui-show {
                        display: -webkit-flex;
                        display: flex !important;
                        flex-direction: column;
                        flex: auto;

                        .layui-card-body {
                            display: -webkit-flex;
                            display: flex !important;
                            flex-direction: column;
                            flex: auto;

                            .table-main-list {
                                display: -webkit-flex;
                                display: flex !important;
                                flex-direction: column;
                                flex: auto;

                                .layui-table-view {
                                    display: -webkit-flex;
                                    display: flex;
                                    flex-direction: column;
                                    flex: auto;

                                    .layui-table-box {
                                        display: -webkit-flex;
                                        display: flex;
                                        flex-direction: column;
                                        flex: auto;

                                        .layui-table-body {
                                            height: 100px;
                                            flex: auto;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

            .table-main-list {
                display: -webkit-flex;
                display: flex;
                flex-direction: column;
                flex: auto;

                .layui-table-view {
                    display: -webkit-flex;
                    display: flex;
                    flex-direction: column;
                    flex: auto;

                    .layui-table-box {
                        display: -webkit-flex;
                        display: flex;
                        flex-direction: column;
                        flex: auto;

                        .layui-table-body {
                            height: 100px;
                            flex: auto;
                        }
                    }
                }
            }
        }
    }
}


// 时间日期选择控件
.dateRangeBox {
    @input-width: 80px;

    .dateRangeItem {
        display: inline-block !important;
    }

    .start {
        width: @input-width  !important;
    }

    .end {
        width: @input-width  !important;
    }
}

// 新窗口打开
.newWinBtn {
    position: absolute;
    left: 0;
    top: 0;
}

.attachList {
    border: 1px solid #f00;

    img {
        max-width: 100%;
        max-height: 100%;
    }
}

.layui-form-item {
    .required {
        &::before {
            content: '*';
            color: #f00;
            padding: 0 5px;
            display: inline-block;
        }
    }
}

.cmdlist-container {
    background: #fff;
    border: 1px solid transparent;
    text-align: center;

    .title {
        color: #333;
        padding: 8px 0;
    }
}

.zk-breadcrumb {
    color: #fff;
    padding: 5px;

    span {
        color: #999;
        padding: 0 5px;
    }

    a {
        color: #fff;

        &:hover,
        &.hover {
            color: lighten(@main-color, 30%);
        }
    }


}

.zk-win-full-height {
    height: 100%;
    overflow: hidden;
}



// @import "loading";

// 判断如果是暗黑主题才引入组件
// .importDark (@a)when (@a="dark") {
    
//     @import "laydate";
//     @import "dyform";
// }

// 判断如果是经典主题才引入组件
// .importDark (@a)when (@a=light) {
//     @import "header_normal";
// }

// .importDark (@a)when (@a="dark") {
//     @import "header_dark";
// }
// 横向步骤条
.lateral-step-box{
    ul{
        padding:10px;
        display: flex;
        flex-wrap: wrap;
        li{
            list-style: none;
            font-size: 18px;
            display: flex;
            align-items: center;
            flex-direction: column;
            justify-content: center;
            p{
                position: relative;
                // &::before{
                //     content: '';
                //     height:1px;
                //     background: #fff;
                //     width:10%;
                //     position: absolute;
                //     top:50%;
                //     right:0;
                // }
                &::after{
                    font-size: 12px;
                    content: "\e84e";
                    font-family: "zkuasgm-icon" !important;
                    margin:0 6px;
                }
                &.none{
                    &::after{
                        content: "";
                    }
                }
            }
            
        }
    }
}